package com.zyb.dfs.client;

import java.nio.ByteBuffer;

public class NetworkResponse {
	
	public static final String RESPONSE_SUCCESS = "SUCCESS";

	private String requestId;
	private String hostname;
	private ByteBuffer buffer;
	private Boolean error;

	public String getRequestId() {
		return requestId;
	}
	public void setRequestId(String requestId) {
		this.requestId = requestId;
	}
	public String getHostname() {
		return hostname;
	}
	public void setHostname(String hostname) {
		this.hostname = hostname;
	}
	public ByteBuffer getBuffer() {
		return buffer;
	}
	public void setBuffer(ByteBuffer buffer) {
		this.buffer = buffer;
	}
	public Boolean error() {
		return error;
	}
	public void setError(Boolean error) {
		this.error = error;
	}
	
}
